package day3.zuoye;

import java.util.Scanner;

public class Test05 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入一个数");
        int a=input.nextInt();
        int b;
        if (a%3==0){
            b=a/3;
        }else{
            b=a/3+1;
        }
        System.out.println("需要"+b+"根");
    }
}
